package com.yfqy.app.configure;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: 梁二东
 * @Date: 2025/5/1 12:45
 * @Description:
 **/
@ConfigurationProperties(prefix = "yfqy.datasource")
@Configuration
@Data
public class DatasourceProperties {
    private String type;
    private String driverClassName;
    private String url;
    private String username;
    private String password;
    private Integer initialSize;
    private Integer minIdle;
    private Integer maxActive;
    private Long maxWait;
    private Long timeBetweenEvictionRunsMillis;
    private Long minEvictableIdleTimeMillis;
}
